INCLUDE = -I/usr/include/
LIBDIR  = -L/usr/X11R6/lib

COMPILERFLAGS = -Wall -O3
CC = gcc
CFLAGS = $(COMPILERFLAGS) $(INCLUDE)
LIBRARIES = -lX11 -lXi -lglut -lGL -lGLU -lm -IGLU -O3 -lpthread

CC = gcc 

car: car.c car_lib.c car_lib.h 
	$(CC) $(CFLAGS) -o $@ $(LIBDIR) $< car_lib.c $(LIBRARIES)
